package br.ucb.cm.board.bean;

import br.ucb.cm.config.bean.PieceConfig;
import br.ucb.cm.main.common.GeneralConstants.PlayerEnum;

public class Piece {
	private PieceConfig config;
	private Location location;
	private PlayerEnum owner;
	
	public Piece(PieceConfig config, Location location, PlayerEnum owner) {
		super();
		this.config = config;
		this.location = location;
		this.owner = owner;
	}
	
	public PieceConfig getConfig() {
		return config;
	}
	public void setConfig(PieceConfig config) {
		this.config = config;
	}
	public Location getLocation() {
		return location;
	}
	public void setLocation(Location location) {
		this.location = location;
	}
	public PlayerEnum getOwner() {
		return owner;
	}
	public void setOwner(PlayerEnum owner) {
		this.owner = owner;
	}

}
